package com.java.simple.study.jvm.sugar;

/**
 * @author zhoujunlin
 * @date 2022/1/16
 * @desc 语法糖-可变参数
 **/
public class Demo8_4 {

    public static void main(String[] args) {
        food("脑残酸菜牛肉面", "老干妈");
    }

    public static void food(String... foods) {
        System.out.println(foods);
    }

}
